package com.ruoyi.business.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业对象 t_enterprise
 * 
 * @author lcz
 * @date 2025-01-19
 */
@Data
@ApiModel("企业对象")
public class Enterprise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty("企业名称")
    private String enterpriseName;

    /** 企业编码 */
    @Excel(name = "企业编码")
    @ApiModelProperty("企业编码")
    private String enterpriseCode;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    @ApiModelProperty("联系人姓名")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String contactPhone;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty("积分")
    private Long integral;

    /** 是否违规（1：是，0：否） */
    @Excel(name = "是否违规", readConverterExp = "1=是,0=否,2=审核中")
    @ApiModelProperty("是否违规（1：是，0：否,2:审核中）")
    private String isViolation;

    /** 违规类目id */
    @ApiModelProperty("违规类目id")
    private Long violationCategoryId;

    /** 违规类目名称 */
    @Excel(name = "违规类目名称")
    @ApiModelProperty("违规类目名称")
    private String categoryName;

    /** 违规类目积分 */
    @Excel(name = "违规类目积分")
    @ApiModelProperty("违规类目积分")
    private Long categoryIntegral;

    /** 头像 */
//    @Excel(name = "头像")
    @ApiModelProperty("头像")
    private String avatar;

    /** 微信openId */
//    @Excel(name = "微信openId")
    @ApiModelProperty("微信openId")
    private String openId;

    /** 令牌 */
    @ApiModelProperty("令牌")
    private String token;

    /** Sessionkey */
    @ApiModelProperty("Sessionkey")
    private String sessionkey;

    @ApiModelProperty("是否展示视频")
    private Boolean isDisplayVideo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setEnterpriseCode(String enterpriseCode) 
    {
        this.enterpriseCode = enterpriseCode;
    }

    public String getEnterpriseCode() 
    {
        return enterpriseCode;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setIntegral(Long integral) 
    {
        this.integral = integral;
    }

    public Long getIntegral() 
    {
        return integral;
    }
    public void setIsViolation(String isViolation) 
    {
        this.isViolation = isViolation;
    }

    public String getIsViolation() 
    {
        return isViolation;
    }
    public void setViolationCategoryId(Long violationCategoryId) 
    {
        this.violationCategoryId = violationCategoryId;
    }

    public Long getViolationCategoryId() 
    {
        return violationCategoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setSessionkey(String sessionkey) 
    {
        this.sessionkey = sessionkey;
    }

    public String getSessionkey() 
    {
        return sessionkey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enterpriseName", getEnterpriseName())
            .append("enterpriseCode", getEnterpriseCode())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("integral", getIntegral())
            .append("isViolation", getIsViolation())
            .append("violationCategoryId", getViolationCategoryId())
            .append("categoryName", getCategoryName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("avatar", getAvatar())
            .append("openId", getOpenId())
            .append("token", getToken())
            .append("sessionkey", getSessionkey())
            .toString();
    }
}
